package com.genshang.restaurant.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alex
 * @since 2020-09-26
 */
@TableName("CUSTOMERLIST")
public class Customerlist extends Model<Customerlist> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "RECORD_ID", type = IdType.AUTO)
    private Long recordId;

    @TableField("CUSTOMERUID")
    private String customeruid;

    @TableField("ID")
    private String id;

    @TableField("CREATETIME")
    private Long createtime;

    @TableField("MODIFYTIME")
    private Long modifytime;

    @TableField("AVATARURL")
    private String avatarurl;

    @TableField("NICKNAME")
    private String nickname;

    @TableField("REALNAME")
    private String realname;

    @TableField("GENDER")
    private String gender;

    @TableField("BIRTHDAY")
    private String birthday;

    @TableField("OPENID")
    private String openid;

    @TableField("PHONE")
    private String phone;

    @TableField("NUMBER")
    private String number;

    @TableField("QRCODEURL")
    private String qrcodeurl;

    @TableField("QRCODEUID")
    private String qrcodeuid;

    @TableField("USABLESCORES")
    private String usablescores;

    @TableField("TOTALSCORES")
    private String totalscores;

    @TableField("STATE")
    private String state;

    @TableField("ADDRESS")
    private String address;

    @TableField("LEVELUID")
    private String leveluid;

    @TableField("LEVELNAME")
    private String levelname;

    @TableField("LEVEL")
    private String level;

    /**
     * 用户来源1是小程序；2是有赞
     */
    @TableField("CHANNEL")
    private String channel;

    /**
     * 有赞openId
     */
    @TableField("YZ_OPENID")
    private String yzOpenid;

    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }
    public String getCustomeruid() {
        return customeruid;
    }

    public void setCustomeruid(String customeruid) {
        this.customeruid = customeruid;
    }
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public Long getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }
    public Long getModifytime() {
        return modifytime;
    }

    public void setModifytime(Long modifytime) {
        this.modifytime = modifytime;
    }
    public String getAvatarurl() {
        return avatarurl;
    }

    public void setAvatarurl(String avatarurl) {
        this.avatarurl = avatarurl;
    }
    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }
    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }
    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }
    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }
    public String getQrcodeurl() {
        return qrcodeurl;
    }

    public void setQrcodeurl(String qrcodeurl) {
        this.qrcodeurl = qrcodeurl;
    }
    public String getQrcodeuid() {
        return qrcodeuid;
    }

    public void setQrcodeuid(String qrcodeuid) {
        this.qrcodeuid = qrcodeuid;
    }
    public String getUsablescores() {
        return usablescores;
    }

    public void setUsablescores(String usablescores) {
        this.usablescores = usablescores;
    }
    public String getTotalscores() {
        return totalscores;
    }

    public void setTotalscores(String totalscores) {
        this.totalscores = totalscores;
    }
    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    public String getLeveluid() {
        return leveluid;
    }

    public void setLeveluid(String leveluid) {
        this.leveluid = leveluid;
    }
    public String getLevelname() {
        return levelname;
    }

    public void setLevelname(String levelname) {
        this.levelname = levelname;
    }
    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }
    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }
    public String getYzOpenid() {
        return yzOpenid;
    }

    public void setYzOpenid(String yzOpenid) {
        this.yzOpenid = yzOpenid;
    }

    @Override
    protected Serializable pkVal() {
        return this.recordId;
    }

    @Override
    public String toString() {
        return "Customerlist{" +
            "recordId=" + recordId +
            ", customeruid=" + customeruid +
            ", id=" + id +
            ", createtime=" + createtime +
            ", modifytime=" + modifytime +
            ", avatarurl=" + avatarurl +
            ", nickname=" + nickname +
            ", realname=" + realname +
            ", gender=" + gender +
            ", birthday=" + birthday +
            ", openid=" + openid +
            ", phone=" + phone +
            ", number=" + number +
            ", qrcodeurl=" + qrcodeurl +
            ", qrcodeuid=" + qrcodeuid +
            ", usablescores=" + usablescores +
            ", totalscores=" + totalscores +
            ", state=" + state +
            ", address=" + address +
            ", leveluid=" + leveluid +
            ", levelname=" + levelname +
            ", level=" + level +
            ", channel=" + channel +
            ", yzOpenid=" + yzOpenid +
        "}";
    }
}
